﻿using System;
using System.Collections.Generic;

namespace Tools.Extensions
{
    public static class IEnumerableExt
    {
        public static void ForEach<T>(this IEnumerable<T> ie, Action<T> action)
        {
            foreach (T obj in ie)
                action(obj);
        }
    }
}